package com.cskaoyan.javase.oop3._1interface._4example.model;

/**
 * 模拟数据库的数据源
 * @since 11:18
 * @author wuguidong@cskaoyan.onaliyun.com
 */
public class GoodsData {
    public static final Goods[] GOODS = new Goods[10];

    static {
        GOODS[0] = new Goods(1, "iPhone13", 6666, "苹果");
        GOODS[1] = new Goods(2, "小米12", 3888, "小米");
        GOODS[2] = new Goods(3, "红米K50", 2388, "红米");
        GOODS[3] = new Goods(4, "华为P50", 8888, "华为");
        GOODS[4] = new Goods(5, "三星S22", 5888, "三星");
    }
}
